<?php

class IndexController extends Zend_Controller_Action
{
    public function init()
    {
		$auth = Zend_Auth::getInstance();

		if ( !$auth->hasIdentity() ) $this->_redirect('/auth');

		$this->usr = $this->view->usr = $auth->getIdentity();

		$this->db 	= Zend_Registry::get('db');
    }

    public function indexAction()
    {

    }
}